package com.abaaba.project2.service;

import com.abaaba.project2.bean.OrderGoods;
import com.abaaba.project2.bean.bo.OrderSubmitBo;
import com.abaaba.project2.bean.bo.WxOrderCommentsBo;
import com.abaaba.project2.bean.bo.WxOrderListBo;
import com.abaaba.project2.bean.vo.WxOrderDetailVo;
import com.abaaba.project2.bean.vo.WxOrderListVo;

public interface WxOrderService {
    WxOrderListVo queryOrderListByStatus(WxOrderListBo wxOrderListBo, Integer userId);

    WxOrderDetailVo queryOrderDetail(Integer id);

    Integer updateOrderStatus(Integer orderId,Short orderStatus,Integer userId);

    Integer updateOrderDeleted(Integer orderId,Integer userId);

    Integer insertComments(WxOrderCommentsBo wxOrderCommentsBo,Integer userId);

    OrderGoods queryOrderGoods(Integer orderId, Integer goodsId);

    Integer insertOrder(OrderSubmitBo orderSubmitBo,Integer userId);
}
